﻿@model GameStepAzure.Models.GuestBook
@{
    ViewBag.Title = "AgregarLibroVisita";
    Layout = "~/Views/Shared/_Master.cshtml";
}
<div>
@using (Html.BeginForm("AgregarLibroVisita", "Home", FormMethod.Post, new { @class = "box login", enctype = "multipart/form-data" }))
{
    <fieldset class="boxBody">
        <p>
          Agregar Comentario
        </p>
        @Html.Label("Nombre:")
        @Html.TextBoxFor(x => Model.Nombre)@Html.ValidationMessageFor(x=>Model.Nombre)
        @Html.Label("Comentario:")
        @Html.TextAreaFor(x => Model.Comentario, new {style="width:85%"})<br />@Html.ValidationMessageFor(x=>Model.Comentario)
        @Html.Label("Imagen: ")
        @Html.TextBoxFor(x => Model.Imagen, new { type = "file" })<br />@Html.ValidationMessageFor(x => Model.Imagen)
    </fieldset>
    <footer>
        <input type="submit" class="btnLogin" value="Agregar" />
    </footer>
}
</div>